.tag {
  display: inline-block;
  border-radius: 32rpx;
  padding: 0 32rpx;
  font-size: 28rpx;
  line-height: 64rpx;
  margin-top: 15rpx;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  position: relative;

  &.primary {
    background-color: #408cff;
    color: #fff;
    font-weight: 600;
    text-align: center;
  }

  &.default {
    background-color: #fff;
    color: rgba(61, 61, 61, 0.5);
    text-align: center;
  }

  .underline {
    width: 100%;
    height: 2rpx;
    background-color: #408cff;
    position: absolute;
    left: 0;
    bottom: 0;
  }

  .newTips {
    background-color: #ff3a00;
    height: 24rpx;
    min-width: 28rpx;
    border-radius: 12rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8rpx;
    position: absolute;
    right: -4rpx;
    top: -4rpx;

    .newText {
      height: 24rpx;
      font-size: 18rpx;
      font-weight: bold;
      line-height: 24rpx;
      color: #ffffff;
    }
  }
}
